<?php


namespace app\dao\pc;


use app\dao\BaseDao;
use app\model\pc\FacadeMajor;

class MarjorDao extends BaseDao
{
    protected function setModel(): string
    {
        return FacadeMajor::class;
    }
    /**
     * 获取专业
     */
    public function getMarjor(array $where){
        return $this->getModel()
            ->where('website_id',$where['website_id'])
            ->where('status','=',1)
            ->select();
    }
}